package com.microservices.yucloud.appweb.config;

import com.microservices.yucloud.appweb.enums.BizOrderEventsEnum;
import com.microservices.yucloud.appweb.enums.BizOrderStatusEnum;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.statemachine.StateMachine;

/**
 * @author zy
 * @date 2019-08-30 14:46
 **/
public interface BaseStateMachineBuilder {

    String getName();

    StateMachine<BizOrderStatusEnum, BizOrderEventsEnum> build(BeanFactory beanFactory) throws Exception;

}
